package com.atdel.demo04;


/**
 * @BelongsProject: java_study
 * @BelongsPackage: com.atdel.demo04
 * @Author: Del
 * @CreateTime: 2025-03-04  10:09
 * @Description: 鹰类
 * @Version: 1.0
 */
public class Eagle extends Bird implements Fly{
    public Eagle(String name) {
        super(name);
    }
    @Override
    public void fly() {
        System.out.println(super.getName() + "在飞");
    }
}
